package com.huqing.icu.dto;

import com.huqing.icu.model.CommunityPost;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Description 社区帖子dto
 * @Author huqing
 * @Date 2025/7/7 21:59
 **/
@Schema(name = "CommunityPostDto", description = "社区帖子dto")
@Data
public class CommunityPostDto extends CommunityPost {

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(name = "avatar", description = "头像")
    private String avatar;


    @Schema(description = "是否点赞")
    private Integer isLike;

    @Schema(description = "是否收藏")
    private Integer isFavorite;

    @Schema(name = "actualLikeNum", description = "点赞数")
    private Long actualLikeNum;

    @Schema(name = "actualFavoriteNum", description = "收藏数")
    private Long actualFavoriteNum;

    @Schema(name = "actualViewUserNum", description = "浏览人数")
    private Long actualViewUserNum;

    @Schema(name = "actualViewNum", description = "浏览次数")
    private Long actualViewNum;

    @Schema(name = "actualCommentNum", description = "评论次数")
    private Long actualCommentNum;
}
